package com.hzf.designer.dao.mapper;

import com.hzf.designer.dao.model.DneedsDesigner;
import com.hzf.designer.dao.model.DneedsDesignerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DneedsDesignerMapper {
    long countByExample(DneedsDesignerExample example);

    int deleteByExample(DneedsDesignerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DneedsDesigner record);

    int insertSelective(DneedsDesigner record);

    List<DneedsDesigner> selectByExample(DneedsDesignerExample example);

    DneedsDesigner selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DneedsDesigner record, @Param("example") DneedsDesignerExample example);

    int updateByExample(@Param("record") DneedsDesigner record, @Param("example") DneedsDesignerExample example);

    int updateByPrimaryKeySelective(DneedsDesigner record);

    int updateByPrimaryKey(DneedsDesigner record);
    List<DneedsDesigner> selectByPrimaryDneedsDesigner(@Param("regionNumber")int regionNumber, @Param("status")int status,
                                                @Param("min0")long min0,@Param("max0")long max0,
                                                @Param("min1")long min1,@Param("max1")long max1,
                                                @Param("min2")long min2,@Param("max2")long max2,
                                                @Param("min3")long min3, @Param("max3")long max3,
                                                @Param("min4")long min4, @Param("max4")long max4,
                                                @Param("min5")long min5, @Param("max5")long max5,
                                                @Param("min6")long min6, @Param("max6")long max6,
                                                @Param("min7")long min7, @Param("max7")long max7,
                                                @Param("min8")long min8, @Param("max8")long max8);
}